package com.guoxin.brage;

public class Client {
	public static void main(String[] args) {
		Phone phone = new FoldedPhone(new Vivo());
		phone.open();
		phone.call();
		phone.close();
		System.out.println("==============");
		
		Phone phone2 = new FoldedPhone(new XiaoMi());
		phone2.open();
		phone2.call();
		phone2.close();
		
		System.out.println("==============");
		Phone phone3 = new UpRightPhone(new XiaoMi());
		phone3.open();
		phone3.call();
		phone3.close();
		
	}
}
